package com.eian.boot.module.system.post.model.dto;

import com.eian.boot.common.core.model.core.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 岗位状态更新请求
 *
 * @author alex.meng
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "岗位状态更新请求参数")
public class PostStatusUpdateRequest extends BaseDTO {

    @Schema(description = "岗位ID")
    @NotNull(message = "岗位ID不能为空")
    private Long id;

    @Schema(description = "岗位状态：0-停用，1-正常")
    @NotNull(message = "岗位状态不能为空")
    private Integer status;
}

